package OBS;

/**
 *
 * @author Jesper Wistoft Nielsen
 */
public class OBSReportSubscription {
    private BatchReportSystem[] batchReportSystems = new BatchReportSystem[0];

    /**
     * @param batchReportSystems
     */
    public OBSReportSubscription(BatchReportSystem[] batchReportSystems) {
        if(batchReportSystems != null) {
            this.batchReportSystems = batchReportSystems;
        }
    }

    /**
     * 
     * @param batchReportSystems
     */
    public void setBatchReportSystems(BatchReportSystem[] batchReportSystems) {
        if(batchReportSystems != null) {
            this.batchReportSystems = batchReportSystems;
        }
        else {
            this.batchReportSystems = new BatchReportSystem[0];
        }
    }
    
    /**
     * 
     * @return
     */
    public BatchReportSystem[] getBatchReportSystems() {
        return this.batchReportSystems;
    }
}
